Forget Password (tenantId, email_or_phone) [POST]
POST /api/v1/users/{tenantId}/forget-password/{email_or_phone}/public
Description
Trigger a password reset process using tenantId and email or phone.
Path Parameters
| Name | Type | Description |
|---|---|---|
tenantId | string | The tenant ID (path) |
email_or_phone | string | The email or phone number (path) |
Request Body
| Name | Type | Description |
|---|---|---|
| None | No request body |
Example
POST /api/v1/users/{tenantId}/forget-password/{email_or_phone}/public
Content-Type: application/json
Response Code: 201 - Created
Description
Password reset request created successfully.
Method: POST
>http://your-api-url/api/v1/users/{tenantId}/forget-password/{email_or_phone}/public
Headers
| Content-Type | Value |
|---|---|
| apiKey | {{apiKey}} |
🔑 Authentication bearer
| Param | Value | Type |
|---|---|---|
| token | {{accessCode}} | string |
LANGUAGE
CURL REQUEST
curl --request POST \
--url /api/v1/users/{tenantId}/forget-password/{email_or_phone}/public \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!